﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace automata
{
    public partial class Form3 : Form
    {
        private int balance;
        public Form3(int balance)
        {
            InitializeComponent();
            this.balance=balance;
            label2.Text = balance.ToString();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
            
        }

        private void Form3_Load(object sender, EventArgs e)
        {
            label2.Visible = true;
        }


    }
}
